/*
* Copyright (C) 2012-2013, <Aeihu.z, aeihu.z@gmail.com>.
*
* Game Scenario Maker is a free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* Version 2(GPLv2) as published by the Free Software Foundation.
*/

////=============================================================================
//#include "CPlayer.h"
//
////=============================================================================
//CPlayer::CPlayer() {
//}
//
//CPlayer::CPlayer(std::string name) : CEntity(name)
//{
//}
//
//CPlayer::CPlayer(float x, float y) : CEntity(x, y)
//{
//}
//
//CPlayer::CPlayer(std::string name, float x, float y) : CEntity(name, x, y)
//{
//}
//
////=============================================================================
//bool CPlayer::OnLoad(const char* File, int Width, int Height, int MaxFrames) {
//    if(CEntity::OnLoad(File, Width, Height, MaxFrames) == false) {
//        return false;
//    }
//
//    return true;
//}
//
////-----------------------------------------------------------------------------
//void CPlayer::OnLoop() {
//    CEntity::OnLoop();
//}
//
////-----------------------------------------------------------------------------
//void CPlayer::OnRender(SDL_Surface* Surf_Dest) {
//    CEntity::OnRender(Surf_Dest);
//}
//
////------------------------------------------------------------------------------
//void CPlayer::OnCleanup() {
//    CEntity::OnCleanup();
//}
//
////------------------------------------------------------------------------------
//void CPlayer::OnAnimate() {
//    if(SpeedX != 0 || SpeedY != 0) {
//        Anim_Control.MaxFrames = 5;
//    }else{
//        Anim_Control.MaxFrames = 0;
//    }
//
//    CEntity::OnAnimate();
//}
//
////------------------------------------------------------------------------------
//bool CPlayer::OnCollision(CEntity* Entity) {
////    Jump();
//    return true;
//}
//
////=============================================================================
